package com.java.operator;

/**
 * 比较运算[> >= < <= == != instanceof]
 */
public class Compare {
    public static void main(String[] args) {
        System.out.println(1 == 1); // true
        System.out.println(new Integer(1) == new Integer(1)); // false
        System.out.println(new Integer(1).equals(new Integer(1))); // true
        System.out.println(new Integer(1) instanceof Integer); // true
    }
}
